home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / forth / pfe-0.000 / pfe-0 / pfe-0.9.13 / etc / readme.linux < prev    next >
Encoding:
Text File  |  1993-11-07  |  876 b   |  38 lines

  1. (This file and the shared library code is by Kevin Haddock)
  2.  
  3.  
  4. Linux shared library calls for Portable Forth Environment.
  5. ==========================================================
  6.  
  7. To use:
  8.  
  9. 1.  Copy the perl program 'np' (Name Parse) into your path
  10.     (/usr/local/bin?).
  11.  
  12. 2.  Parse one of the shared library stub file's symbol table to
  13.     a Forth include file (i.e.):
  14.  
  15.     np /usr/lib/libc.sa >libc.4
  16.  
  17. 3.  Include the library defining words from library.4.
  18.  
  19. 4.  Optionally define a wordlist to create the library calls in:
  20.  
  21.     VOCABULARY SYS  SYS DEFINITIONS
  22.  
  23. 5.  Include the library calls:
  24.  
  25.     INCLUDE libc.4
  26.  
  27. 6.  Compile your program which must include a 'uselib' call to map
  28.     in the appropriate shared library at run time:
  29.  
  30.     : INITIALIZE   " /lib/libc.so.4" USELIB ;
  31.  
  32. 7.  See sysdep.h for control word configuration.
  33.  
  34.  
  35. NOTE:
  36.  
  37.     Floating point calls are not thoroughly tested.
  38.